<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>EOS.IO: contracts/eoslib/action.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="eos-logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">EOS.IO
   &#160;<span id="projectnumber">DAWN3.0.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_ae9b15dd87e066e1908bbd90e8f38627.html">contracts</a></li><li class="navelem"><a class="el" href="dir_3fea0bf1ce879ce73e6ecec98007efcd.html">eoslib</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">action.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;<a class="el" href="system_8h_source.html">eoslib/system.h</a>&gt;</code><br />
</div>
<p><a href="action_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gaaa8e07b94cea97bd0b6bef4c7cf64422"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__actioncapi.html#gaaa8e07b94cea97bd0b6bef4c7cf64422">read_action</a> (void *msg, <a class="el" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a> len)</td></tr>
<tr class="memdesc:gaaa8e07b94cea97bd0b6bef4c7cf64422"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy current action to the specified location.  <a href="group__actioncapi.html#gaaa8e07b94cea97bd0b6bef4c7cf64422">More...</a><br /></td></tr>
<tr class="separator:gaaa8e07b94cea97bd0b6bef4c7cf64422"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadd0552a97de236e0c7af3ef2dd909c2a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__types.html#ga06896e8c53f721507066c079052171f8">uint32_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__actioncapi.html#gadd0552a97de236e0c7af3ef2dd909c2a">action_size</a> ()</td></tr>
<tr class="memdesc:gadd0552a97de236e0c7af3ef2dd909c2a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the length of current action's data field.  <a href="group__actioncapi.html#gadd0552a97de236e0c7af3ef2dd909c2a">More...</a><br /></td></tr>
<tr class="separator:gadd0552a97de236e0c7af3ef2dd909c2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae232893c733f02b94dbb70fae39d19f7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__actioncapi.html#gae232893c733f02b94dbb70fae39d19f7">require_recipient</a> (<a class="el" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a> name)</td></tr>
<tr class="memdesc:gae232893c733f02b94dbb70fae39d19f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add the specified account to set of accounts to be notified.  <a href="group__actioncapi.html#gae232893c733f02b94dbb70fae39d19f7">More...</a><br /></td></tr>
<tr class="separator:gae232893c733f02b94dbb70fae39d19f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab1e668e93ac1f94421743ed79edffb26"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__actioncapi.html#gab1e668e93ac1f94421743ed79edffb26">require_auth</a> (<a class="el" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a> name)</td></tr>
<tr class="memdesc:gab1e668e93ac1f94421743ed79edffb26"><td class="mdescLeft">&#160;</td><td class="mdescRight">Verify specified account exists in the set of provided auths.  <a href="group__actioncapi.html#gab1e668e93ac1f94421743ed79edffb26">More...</a><br /></td></tr>
<tr class="separator:gab1e668e93ac1f94421743ed79edffb26"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5fcca014b53b0f15b9f9636325bae976"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__actioncapi.html#ga5fcca014b53b0f15b9f9636325bae976">current_receiver</a> ()</td></tr>
<tr class="memdesc:ga5fcca014b53b0f15b9f9636325bae976"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the account which specifies the code that is being run.  <a href="group__actioncapi.html#ga5fcca014b53b0f15b9f9636325bae976">More...</a><br /></td></tr>
<tr class="separator:ga5fcca014b53b0f15b9f9636325bae976"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gada68da99a95a5b25e9f5d43af255c63e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__actioncapi.html#gada68da99a95a5b25e9f5d43af255c63e">send_inline</a> (char *serialized_action, <a class="el" href="group__types.html#ga7c94ea6f8948649f8d181ae55911eeaf">size_t</a> size)</td></tr>
<tr class="separator:gada68da99a95a5b25e9f5d43af255c63e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9893f539cf6d56989eb6e0d4ce51a813"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__actioncapi.html#ga9893f539cf6d56989eb6e0d4ce51a813">require_write_lock</a> (<a class="el" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a> name)</td></tr>
<tr class="memdesc:ga9893f539cf6d56989eb6e0d4ce51a813"><td class="mdescLeft">&#160;</td><td class="mdescRight">Verifies that name exists in the set of write locks held.  <a href="group__actioncapi.html#ga9893f539cf6d56989eb6e0d4ce51a813">More...</a><br /></td></tr>
<tr class="separator:ga9893f539cf6d56989eb6e0d4ce51a813"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4b02a9d9adf71ae49e77e19fefc0cbf4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__actioncapi.html#ga4b02a9d9adf71ae49e77e19fefc0cbf4">require_read_lock</a> (<a class="el" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a> name)</td></tr>
<tr class="memdesc:ga4b02a9d9adf71ae49e77e19fefc0cbf4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Verifies that name exists in the set of read locks held.  <a href="group__actioncapi.html#ga4b02a9d9adf71ae49e77e19fefc0cbf4">More...</a><br /></td></tr>
<tr class="separator:ga4b02a9d9adf71ae49e77e19fefc0cbf4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga761ba259bec8bbdab79b31b716a5d4d6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__types.html#ga44479e2657d126b44ca53d30c3e670d8">time</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__actioncapi.html#ga761ba259bec8bbdab79b31b716a5d4d6">publication_time</a> ()</td></tr>
<tr class="memdesc:ga761ba259bec8bbdab79b31b716a5d4d6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the publication time.  <a href="group__actioncapi.html#ga761ba259bec8bbdab79b31b716a5d4d6">More...</a><br /></td></tr>
<tr class="separator:ga761ba259bec8bbdab79b31b716a5d4d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf531fda07a825ca8b0d90f21446e6a64"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__actioncapi.html#gaf531fda07a825ca8b0d90f21446e6a64">current_sender</a> ()</td></tr>
<tr class="memdesc:gaf531fda07a825ca8b0d90f21446e6a64"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the sender of the action.  <a href="group__actioncapi.html#gaf531fda07a825ca8b0d90f21446e6a64">More...</a><br /></td></tr>
<tr class="separator:gaf531fda07a825ca8b0d90f21446e6a64"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><dl class="section copyright"><dt>Copyright</dt><dd>defined in eos/LICENSE.txt </dd></dl>
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
